TEMPLATE      = lib
CONFIG       += qt plugin warn_off 
QT += opengl

INCLUDEPATH  += ../..
HEADERS       = pocketcontrol.h  pocketplugin.h
SOURCES       = pocketcontrol.cpp  pocketplugin.cpp
FORMS		  = pocketcontrol.ui
TARGET        = $$qtLibraryTarget(pocket)
DESTDIR       = ../../../plugins

unix:LIBS 	 += -L../../datamanager -ldatamanager -L../../contour -lcontour \ 
				-L../../data -ldata -L../../math -lmath -L../../renderer -lrenderer \
				../../sdf/libsdf.a ../../utils/libutils.a

macx {
	DEFINES += MACX_DEV __GNU__
}

# install
# target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint/plugins
# sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extrafilters.pro
# sources.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaintplugins/extrafilters
# INSTALLS += target sources